import {request} from "@/config/request.js"
//  视频列表

export const healthartList = (data)=>{
	return request({
		url:'sign/healthart_list',
		method:'post',
		data
	})
}
// 视频详情
export const healthartDetail = (data)=>{
	return request({
		url:'sign/healthart_detail',
		method:'post',
		data
	})
}
// 健康科普学习列表
export const learnList = (data)=>{
	return request({
		url:'sign/learn_list',
		method:'post',
		data
	})
}
// 健康科普学习详情
export const learnDetail = (data)=>{
	return request({
		url:'sign/learn_detail',
		method:'post',
		data
	})
}
// 答题
export const answer = (data)=>{
	return request({
		url:'sign/answer',
		method:'post',
		data
	})
}
// 问答
export const questionList = (data)=>{
	return request({
		url:'sign/question_list',
		method:'post',
		data
	})
}
//  打卡
export const signAdd = (data)=>{
	return request({
		url:'sign/sign_add',
		method:'post',
		data
	})
}
//  打卡记录
export const getSignList = (data)=>{
	return request({
		url:'sign/sign_list',
		method:'post',
		data
	})
}
//  兑换券
export const couponList = (data)=>{
	return request({
		url:'shop/coupon_list',
		method:'post',
		data
	})
}
//  兑换券
export const exchangeCoupon = (data)=>{
	return request({
		url:'shop/score_to_coupon',
		method:'post',
		data
	})
}